package com.easylinkin.linkappapi.hcmy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.hcmy.entity.AreasourceecologyFunction;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.hcmy.entity.AreasourceecologyMenu;

import java.util.List;

public interface AreasourceecologyFunctionService extends IService<AreasourceecologyFunction>{
    IPage<AreasourceecologyFunction> page(Page page, AreasourceecologyFunction distributionElectricPrice);

    void saveOrUpdateEntity(AreasourceecologyFunction areasourceecologyFunction);

    void deleteByIds(AreasourceecologyFunction areasourceecologyFunction);

    /***
     * 根据类型查询菜单
     * @param areasourceecologyFunction
     * @return
     */
    List<AreasourceecologyMenu> findMenuByType(AreasourceecologyFunction areasourceecologyFunction);
}
